<?php
	//includes
	require_once 'includes.php';

	//delete all
//	DB::ExecuteSQL("
//		DELETE FROM t_wine_urls;
//	");
	exit();
	
	$startTime = microtime() + time();
	
	//WineLog (wine source)
	$wineLog = new WineLog(); 

	//gets all URLs
	$wineLog->GetWineUrls(0, 0);
	
	//saves wine URLs
	$result = $wineLog->SaveWineUrls();
	
	$endTime = microtime() + time();
	
	//totals
	$resultTime = $endTime - $startTime;
	echo "Total time: $resultTime; Success: {$result['success']}; Fail: {$result['fail']}; ";
?>